<template>
	<view class="classLayout">
		<view class="classify">
			<!-- <theme-title v-for="item in 15"></theme-title> -->
			<theme-title v-for="item in classifyList" :key="item._id"
			:item = "item">	</theme-title>
		</view>
	</view>
</template>

<script setup>
	import { ref } from 'vue';
	import {onLoad} from "@dcloudio/uni-app"
	import{ apiGetClassify_ctt } from '/api/api_ctt.js'
	const classifyList = ref([]);
	
	
	onLoad((e) =>{
		console.log(e);
	})
	const getClassify_ctt = async () =>{
			 let res = await apiGetClassify_ctt();
			   classifyList.value  = res.data
			   console.log(res);
	}
	
	getClassify_ctt();
</script>

<style lang="scss" scoped>
	.classLayout{
		
	}
	.classify{
		padding: 30rpx;
		display: grid;
		grid-template-columns: repeat(3,1fr);
		gap:15rpx
		
	}

</style>
